package cn.picclife.mwx.manager.sys.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.picclife.mwx.common.core.dao.MyBatisRepositoryAnnotation;
import cn.picclife.mwx.manager.sys.model.bo.PageCount;
import cn.picclife.mwx.manager.sys.model.po.SysMaintain;
import cn.picclife.mwx.manager.sys.model.po.SysmaintainVersion;

@MyBatisRepositoryAnnotation
public interface SysMaintainVersionMapper {

	public int saveSysMaintainVersion(SysmaintainVersion maintain);
	
	public int updateSysMaintainVersion(SysmaintainVersion maintain);
	
	public List<SysmaintainVersion> querySysMaintainVersion(SysmaintainVersion maintain);
	
	public int queryAllCount(Map<String,Object> objMap);
	
	public List<SysmaintainVersion> querySysMaintainVersionPage(PageCount pageCount);
	
	public List<SysmaintainVersion> queryBySystemNo(String systemNo);
	
	public SysmaintainVersion queryBySystemNoAndVno(@Param("systemNo")String systemNo,@Param("versionNo")String versionNo);

	int updateSysMaintainVersionbyid(@Param("sysversionId")String sysversionId, @Param("ziptime")String zipTime);

//	void updateSysMaintainVersionbyidandversion(@Param("sysmaintainId")String sysversionId, @Param("versionNo")String newVersionNo,@Param("versionNo") String zipTime);
}
